<!DOCTYPE html>

<html>
<head>
{{template "common/head.html" .}}
    <style type="text/css">

    </style>

</head>

<body class="layui-layout-body">
<div id="app">
    <div class="layui-layout layui-layout-admin">
    {{template "common/adminMenu.html" .}}

        <div class="layui-body" style="background-image: url('/static/img/login-bg.jpeg')">
            <!-- 内容主体区域 -->

            <div style="width: 100%; text-align: center; margin-top: 100px;">
                <h1>欢迎登陆LPhoto管理后台</h1>
                <br>
                <h2>您可以在这里上传您照片和视频作品，并且标记时间和位置，主页将以地图与时间轴的方式展示您的作品</h2>
            </div>

        </div>

    {{template "common/adminFooter.html" .}}
    </div>
</div>
</body>

<script>
    window.onload = function () {
       var m = document.getElementById("menu-index");
        m.className = m.className + "  menu-active"
    }
    new Vue({
        el: '#app',
        data: {
            theme: 'ligth'
        },
        mounted(){
            layui.use('element', function(){
                element = layui.element;
                element.render('nav');
            });
        },
        methods: {

        }

    })
    function getVideoUrl(url) {
        return "http://video.longzongqin.cn"+url.split(".")[0]+".jpg";
    }
</script>
</html>
